package com.gusha.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;
import java.util.List;

import com.gusha.model.SysClassify;


/**
 * @Created：2018-10-30 14:25:23
 * @Author LightSound的代码生成器
 * @Description:SysClassifyDao接口
 */
@Repository
public interface SysClassifyDao extends JpaRepository<SysClassify,BigInteger>,JpaSpecificationExecutor<SysClassify> {

	List<SysClassify> findAllByParentIdAndIsDelete(BigInteger bigInteger, int i);

	SysClassify findAllByParentIdOrderByIdDesc(BigInteger parentId);

}
